package com.lh.pojo.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @program: foodie-dev
 * @description:
 * @author: LH
 * @create: 2022-05-18 14:50
 **/
@ApiModel(value = "用户地址对象BO", description = "从客户端，由用户传入的数据封装在此entity中")
public class UserAddressBO {

    @ApiModelProperty(value ="用户地址ID" , name ="addressId" , example ="lh" , required = true)
    private String addressId;
    @ApiModelProperty(value ="用户ID" , name ="userId" , example ="lh" , required = true)
    private String userId;

    @ApiModelProperty(value ="收件人姓名" , name ="receiver" , example ="lh" , required = true)
    private String receiver;
    @ApiModelProperty(value ="收件人手机号" , name ="mobile" , example ="lh" , required = true)
    private String mobile;
    @ApiModelProperty(value ="省份" , name ="province" , example ="lh" , required = true)
    private String province;
    @ApiModelProperty(value ="城市" , name ="city" , example ="lh" , required = true)
    private String city;
    @ApiModelProperty(value ="区县" , name ="district" , example ="lh" , required = true)
    private String district;
    @ApiModelProperty(value ="详细地址" , name ="detail" , example ="lh" , required = true)
    private String detail;

    public String getAddressId() {
        return addressId;
    }

    public void setAddressId(String addressId) {
        this.addressId = addressId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getReceiver() {
        return receiver;
    }

    public void setReceiver(String receiver) {
        this.receiver = receiver;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    @Override
    public String toString() {
        return "UserAddressBO{" +
                "addressId='" + addressId + '\'' +
                ", userId='" + userId + '\'' +
                ", receiver='" + receiver + '\'' +
                ", mobile='" + mobile + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", district='" + district + '\'' +
                ", detail='" + detail + '\'' +
                '}';
    }
}
